package controleImpl;

import controleInterface.DirectionLampInterface;

public class DirectionLampImpl implements DirectionLampInterface {
	private double c;
	private double t;
	private boolean IsOn;
	
	public DirectionLampImpl(){
	}
		
	public double getC() {
		return c;
	}

	public void setC(double c) {
		this.c = c;
	}

	public double getT() {
		return t;
	}

	public void setT(double t) {
		this.t = t;
	}

	public boolean isIsOn() {
		return IsOn;
	}

	public void setIsOn(boolean IsOn) {
		this.IsOn = IsOn;
	}

	@Override
	public void initialize() {
		// TODO Auto-generated method stub
		this.c = 5;
		this.t = 500;
		this.IsOn = false;
	}
	
	@Override
	public void on() {
		// TODO Auto-generated method stub
		setIsOn(true);
	}

	@Override
	public void off() {
		// TODO Auto-generated method stub
		setIsOn(false);
	}

}
